package com.aiwiown.face.domain.orc;

import com.aiwiown.face.ApiObject;
import com.aiwiown.face.internal.mapping.ApiField;
import com.aiwiown.face.internal.mapping.ApiListField;

import java.util.List;

/**
 * @ClassName : OcrBankCardV1CardInfo
 * @Description : 银行卡信息
 * @Author : dbin0123
 * @Date: 2020年4月13日10:19:09
 */
public class OCRBankCardInfo extends ApiObject {
    private static final long serialVersionUID = 6897488515853053662L;

    /**
     * 卡号
     */
    @ApiField("number")
    private String number;
    /**
     * 名称(beta无数据)
     */
    @ApiField("bank")
    private String bank;
    /**
     * 银行卡卡片四个角的像素点坐标
     */
    @ApiField("bound")
    private OCRBankCardBoundInfo bound;
    /**
     * 表示所支持的金融组织服务；(beta无数据)
     * 如果没有识别到列表内的组织，则返回[]；
     * 目前会返回的组织内容如下："union"、"master"、"visa"、"jcb"
     */
    @ApiListField("organization")
    private List<String> organization;

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public OCRBankCardBoundInfo getBound() {
        return bound;
    }

    public void setBound(OCRBankCardBoundInfo bound) {
        this.bound = bound;
    }

    public List<String> getOrganization() {
        return organization;
    }

    public void setOrganization(List<String> organization) {
        this.organization = organization;
    }
}
